package com.hq.modules.sys.entity;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;

@Getter
@Setter
@ToString
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class BuildingInfo {
    private Integer id;

    /**
     * 区域id
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Integer regionId;

    /**
     * 楼栋名称
     */
    private String buildingName;

    /**
     * 楼栋地址
     */
    private String buildingAddress;

    /**
     * 总层数
     */
    private Integer totalFloors;

    /**
     * 总户数
     */
    private Integer totalUnits;

    /**
     * 建筑年限
     */
    private Integer yearBuilt;

    /**
     * 物业公司
     */
    private String propertyCompany;

    /**
     * 楼栋编号
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Integer buildingNo;

    /**
     * 楼栋类型
     */
    private Integer type;
}